﻿namespace CodingExercises._1_25;

public class SplitFullName
{
    /// <summary>
    /// Split a full name into first and last names
    /// </summary>
    /// <param name="fullName"></param>
    /// <returns></returns>
    public static (string firstName, string lastName) Test(string fullName)
    {
        var split = fullName.Split(' ');

        return (split[0], split[1]);
    }
}